package com.example.wallpaperapp.ihttps;

import com.example.wallpaperapp.bean.UserInfo;

import java.util.List;

import io.reactivex.Observable;
import io.reactivex.Scheduler;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @Package: com.example.wallpaperapp.ihttps
 * @ClassName: RequestServices
 * @Description: 网络请求接口
 * @Author: zrmo
 * @CreateDate: 2020/11/12 11:44
 */

public interface RetrofitService {
    @GET("add")
    Observable<UserInfo> addUser(@Query("phone_number") int c, @Query("password") String b);

    //用户数据请求
    @GET("getAll")
    Observable<List<UserInfo>> getList();



}
